package com.ego.member.vo;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

/**
 * @program: ego
 * @description: 会员登录VO
 * @author: KamTang
 * @create: 2022-12-14 09:22
 **/
@Setter
@Getter
public class MemberLoginVo {
    @NotEmpty(message = "账户不能为空")
    private String loginAccount;

    @NotEmpty(message = "密码不能为空")
    @Length(min = 6, max = 18, message = "密码长度必须满足6~18位")
    private String password;
}
